import request from '@/utils/request'

// 查询列表
export function outboundList(query) {
  return request({
    url: '/material/outbound/list',
    method: 'get',
    params: query
  })
}
// 新增
export function outboundAdd(data) {
  return request({
    url: '/material/outbound/add',
    method: 'post',
    data: data
  })
}

// 修改
export function outboundEdit(data) {
  return request({
    url: '/material/outbound/edit',
    method: 'put',
    data: data
  })
}


// 删除
export function outboundDelete(id) {
  return request({
    url: '/material/outbound/' + id,
    method: 'delete'
  })
}

